<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>



<link href="style.css" rel="stylesheet" type="text/css" >

	<body class="body" >
		<html:form action="/orderRegistration" method="POST" >
			<table class="registration" border="1">

				<tr>
					<td colspan="2" >
						<logic:present name="selectedRouts" scope="request">
				        <bean:message key="label.your_routs"/>: ${searchFrom} - ${searchTo}
				        <br/>	
				        	<input type="hidden" style="font-size: 24px" name="your_train" size="20" value="${selectedRouts.name_routs}">
				        <bean:message key="label.your_train"/>: <b>${selectedRouts.id_routs}  ${selectedRouts.name_routs} </b>
				        				
				        </logic:present> 
				    </td>
				</tr>
				<tr>    
				    <td>    
				      <bean:message key="label.first_name"/>
					</td>
					<td>
						<input type="text" style="font-size: 24px" name="first_name" size="20">
						<html:errors property="first_name" /> 
					</td>
				</tr>
				<tr>    
				    <td >    
				        
						<bean:message key="label.last_name"/>
					</td>
					<td > 
						<input type="text" style="font-size: 24px" name="last_name" size="20">
						<html:errors property="last_name" /> 
					</td>
					
				</tr>
				<tr>    
				    <td>    
				        
						<bean:message key="label.midle_name"/>
					</td>
					<td>
						<input type="text" style="font-size: 24px" name="midle_name" size="20">
						<html:errors property="midle_name" /> 
					</td>
				</tr>
				<tr>	
					
				</tr>
				<tr>
					<td >
					
		
						
					</td>
					<td align="center">
						
						<html:submit onclick="return confirm(' Ticket booking? ');"> <bean:message key="button.book"/></html:submit>
						
					</td>
				</tr>
			</table>
			</html:form>
		</body>	


